package com.zhong.gang.app.ui.contract;

import java.io.Serializable;
import java.util.List;

public class ContractBean {

    /**
     * contractMaterialTypes : [{"completePercent":0,"completeWeight":0,"contractId":0,"contractPrice":0,"contractSn":"string","contractWeight":0,"createTime":"2020-02-06T06:38:48.847Z","createTimestamp":0,"deleted":false,"id":0,"materialTypeId":0,"materialTypeName":"string","onWayWeight":0,"steelMillName":"string","updateTime":"2020-02-06T06:38:48.847Z","updateTimestamp":0,"version":0}]
     * createTime : 2020-02-06T06:38:48.847Z
     * createTimestamp : 0
     * deleted : false
     * id : 0
     * sn : string
     * steelMillId : 0
     * steelMillName : string
     * updateTime : 2020-02-06T06:38:48.847Z
     * updateTimestamp : 0
     * version : 0
     */

    private String createTime;
    private long createTimestamp;
    private boolean deleted;
    private int id;
    private String sn;
    private int steelMillId;
    private String steelMillName;
    private String updateTime;
    private long updateTimestamp;
    private int version;
    private List<ContractMaterialTypesBean> contractMaterialTypes;

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public long getCreateTimestamp() {
        return createTimestamp;
    }

    public void setCreateTimestamp(long createTimestamp) {
        this.createTimestamp = createTimestamp;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public int getSteelMillId() {
        return steelMillId;
    }

    public void setSteelMillId(int steelMillId) {
        this.steelMillId = steelMillId;
    }

    public String getSteelMillName() {
        return steelMillName;
    }

    public void setSteelMillName(String steelMillName) {
        this.steelMillName = steelMillName;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public long getUpdateTimestamp() {
        return updateTimestamp;
    }

    public void setUpdateTimestamp(long updateTimestamp) {
        this.updateTimestamp = updateTimestamp;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public List<ContractMaterialTypesBean> getContractMaterialTypes() {
        return contractMaterialTypes;
    }

    public void setContractMaterialTypes(List<ContractMaterialTypesBean> contractMaterialTypes) {
        this.contractMaterialTypes = contractMaterialTypes;
    }

    public static class ContractMaterialTypesBean implements Serializable {
        /**
         * completePercent : 0
         * completeWeight : 0
         * contractId : 0
         * contractPrice : 0
         * contractSn : string
         * contractWeight : 0
         * createTime : 2020-02-06T06:38:48.847Z
         * createTimestamp : 0
         * deleted : false
         * id : 0
         * materialTypeId : 0
         * materialTypeName : string
         * onWayWeight : 0
         * steelMillName : string
         * updateTime : 2020-02-06T06:38:48.847Z
         * updateTimestamp : 0
         * version : 0
         */
        private int steelMillId;
        private double completePercent;
        private double completeWeight;
        private int contractId;
        private double contractPrice;
        private String contractSn;
        private double contractWeight;
        private String createTime;
        private long createTimestamp;
        private boolean deleted;
        private int id;
        private int materialTypeId;
        private String materialTypeName;
        private double onWayWeight;
        private String steelMillName;
        private String updateTime;
        private long updateTimestamp;
        private int version;

        public int getSteelMillId() {
            return steelMillId;
        }

        public void setSteelMillId(int steelMillId) {
            this.steelMillId = steelMillId;
        }

        public double getCompletePercent() {
            return completePercent;
        }

        public void setCompletePercent(double completePercent) {
            this.completePercent = completePercent;
        }

        public double getCompleteWeight() {
            return completeWeight;
        }

        public void setCompleteWeight(double completeWeight) {
            this.completeWeight = completeWeight;
        }

        public int getContractId() {
            return contractId;
        }

        public void setContractId(int contractId) {
            this.contractId = contractId;
        }

        public double getContractPrice() {
            return contractPrice;
        }

        public void setContractPrice(double contractPrice) {
            this.contractPrice = contractPrice;
        }

        public String getContractSn() {
            return contractSn;
        }

        public void setContractSn(String contractSn) {
            this.contractSn = contractSn;
        }

        public double getContractWeight() {
            return contractWeight;
        }

        public void setContractWeight(double contractWeight) {
            this.contractWeight = contractWeight;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public long getCreateTimestamp() {
            return createTimestamp;
        }

        public void setCreateTimestamp(long createTimestamp) {
            this.createTimestamp = createTimestamp;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getMaterialTypeId() {
            return materialTypeId;
        }

        public void setMaterialTypeId(int materialTypeId) {
            this.materialTypeId = materialTypeId;
        }

        public String getMaterialTypeName() {
            return materialTypeName;
        }

        public void setMaterialTypeName(String materialTypeName) {
            this.materialTypeName = materialTypeName;
        }

        public double getOnWayWeight() {
            return onWayWeight;
        }

        public void setOnWayWeight(double onWayWeight) {
            this.onWayWeight = onWayWeight;
        }

        public String getSteelMillName() {
            return steelMillName;
        }

        public void setSteelMillName(String steelMillName) {
            this.steelMillName = steelMillName;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public long getUpdateTimestamp() {
            return updateTimestamp;
        }

        public void setUpdateTimestamp(long updateTimestamp) {
            this.updateTimestamp = updateTimestamp;
        }

        public int getVersion() {
            return version;
        }

        public void setVersion(int version) {
            this.version = version;
        }
    }
}
